package com.zxy.ziems.server.utils;

import com.baomidou.mybatisplus.core.incrementer.DefaultIdentifierGenerator;
import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator;

public class IdUtil {
    public static final IdentifierGenerator identifierGenerator = new DefaultIdentifierGenerator();

    public static String nextId() {
        return identifierGenerator.nextId(new Object()).toString();
    }

}
